package com.fr.base.core.antlr;

import com.fr.base.core.antlr.collections.impl.BitSet;

class CharLiteralElement extends GrammarAtom
{
  public CharLiteralElement(LexerGrammar paramLexerGrammar, Token paramToken, boolean paramBoolean, int paramInt)
  {
    super(paramLexerGrammar, paramToken, 1);
    this.tokenType = ANTLRLexer.tokenTypeForCharLiteral(paramToken.getText());
    paramLexerGrammar.charVocabulary.add(this.tokenType);
    this.line = paramToken.getLine();
    this.not = paramBoolean;
    this.autoGenType = paramInt;
  }

  public void generate()
  {
    this.grammar.generator.gen(this);
  }

  public Lookahead look(int paramInt)
  {
    return this.grammar.theLLkAnalyzer.look(paramInt, this);
  }
}